﻿<html>
	<head>
		<link rel="stylesheet" href="style.css" type="text/css">
		<title>Bienvenue</title>
		<?php
		//commentaires
			extract($_GET);
			if(isset($url))
			{
				switch($url)
				{
					case 1:$chemin='nom.php';break;
					case 2:$chemin='ville.php';break;
					case 3:$chemin='qualif.html';break;
					case 4:$chemin='type.php';break;
					case 5:$chemin='motpasse.html';break;
					case 6:$chemin='resnom.php';break;
					case 7:$chemin='resville.php';break;
					case 8:$chemin='resqualif.php';break;
					case 9:$chemin='restype.php';break;
					case 403:$chemin='403.html';break;
					default:$chemin='home.html';break;
				}
			}
			else
			{
				$chemin="home.html";
			}	
		?>
	</head>
	<body>
		<table border=0 width=100% cellspacing=0>
			<tr align="center">
				<td colspan=2>
					<?php
						include "ban.html";
					?>
				</td>
			</tr>
			
			<tr align=left valign="top" bgcolor=#FFFFFF>
				<td width=15% height=450 class="titre_menu">
					<table border=0 cellpadding=7 cellspacing=0 name="menu">
						<tr>
							<td class="menu1">Rechercher :</td>
						</tr>
						<tr>
							<td class="menu1"><a href ="index.php?url=1">Par nom :</a></td>
						</tr>
						<tr>
							<td class="menu1"><a href ="index.php?url=2">Par ville :</a></td>
						</tr>
						<tr>
							<td class="menu1"><a href ="index.php?url=3">Par qualification :</a></td>
						</tr>
						<tr>
							<td class="menu1"><a href ="index.php?url=4">Par type de stage :</a></td>
						</tr>
						<tr>
							<td><hr></td>
						</tr>
						<tr>
							<td class="menu1"><a href ="index.php?url=5">Administration</a></td>
						</tr>
					</table>
				</td>
				<td>
					<?php
						include $chemin;
					?>
				</td>
			</tr>
		</table>
	</body>
</html>